home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / shell / igo / gosource / igo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  987 b   |  52 lines

  1. #if DEBUG == 1
  2. #define Debugprint(message) debugprint(message)
  3. #define Debugprint2(message, variable) debugprint(message, variable)
  4. #else
  5. #define Debugprint(message) 
  6. #define Debugprint2(message, variable) 
  7. #endif
  8.  
  9. #define WALL 100
  10. #define WHITE 1
  11. #define BLACK 0
  12. #define BLANK 2
  13. #define WHITE_TERRITORY 11
  14. #define BLACK_TERRITORY 10
  15. #define WALL_TERRITORY 12
  16. #define WHITE_CAPTURE 21
  17. #define BLACK_CAPTURE 20
  18. #define DELETE -100
  19. #define FREE_CELL -101
  20.  
  21. #define WHITE_COL 15
  22. #define BLACK_COL 8
  23. #define GREY_COL 7
  24.  
  25. #define NORMAL 0
  26. #define SPECIAL 1
  27. #define TMP 2
  28.  
  29. #define NORMAL_CELL 0
  30. #define BOTTOM_CELL -1
  31. #define HEAD_CELL -2
  32. #define BOTTOM_PREV_CELL 1
  33. #define REPEAT_CANNOT_BOTTOM_CELL 2
  34. #define REPEAT_CANNOT_HEAD_CELL 3
  35.  
  36. #define NO_BROTHER 0
  37. #define NO_LAST_BROTHER 1
  38. #define LAST_BROTHER 2
  39.  
  40. #define MAX_TE_NUMBER 1000
  41.  
  42. #define HANDY_STONE -1
  43.  
  44. typedef struct {
  45.     int    year;
  46.     int    month;
  47.     int    day;
  48.     int    hour;
  49.     int minute;
  50. }    YMDHM;
  51.  
  52.